package com.dz.scrm.app.config

import android.app.Activity
import android.app.Application.ActivityLifecycleCallbacks
import android.os.Bundle
import com.dz.scrm.utils.LoggerUtils

/**
 * 作者：fanda
 * 日期：2021/4/21 16:11
 * 描述：Activity 生命周期监听
 */
class ActivityLifecycleCallbacksImpl : ActivityLifecycleCallbacks {
    override fun onActivityPaused(p0: Activity) {
    }

    override fun onActivityStarted(p0: Activity) {
    }

    override fun onActivityDestroyed(p0: Activity) {
    }

    override fun onActivitySaveInstanceState(p0: Activity, p1: Bundle) {
    }

    override fun onActivityStopped(p0: Activity) {
    }

    override fun onActivityCreated(p0: Activity, p1: Bundle?) {
//        LoggerUtils.d("$p0 - onActivityCreated")
    }

    override fun onActivityResumed(p0: Activity) {
    }
}